<div class="one_news" id="one_news">
	<a class="sexybutton sexysimple sexymagenta" href="/adminarea/addmenuitem/id_restaurant/<?php echo $this->idRestaurant; ?>"><span class="add">Add New Menu Item</span></a>
<?php if (1 != $this->idRestaurant) { ?>
	<a class="sexybutton sexysimple sexymagenta" href="/adminarea/scanmenu/id_restaurant/<?php echo $this->idRestaurant; ?>">Scanned menu manage</a><br />
<?php }?>	
</div>

<b><?php echo $this->nameRestaurant; ?></b> &nbsp;&nbsp;
<a href="/adminarea/menuitems/id_restaurant/<?php echo $this->idRestaurant; ?>/order/name_asc" class="sexybutton sexysimple sexymagenta">a-z</a> 
Name  
<a href="/adminarea/menuitems/id_restaurant/<?php echo $this->idRestaurant; ?>/order/name_desc" class="sexybutton sexysimple sexymagenta">z-a</a> &nbsp;&nbsp;&nbsp;&nbsp; 
<a href="/adminarea/menuitems/id_restaurant/<?php echo $this->idRestaurant; ?>/order/group_asc" class="sexybutton sexysimple sexymagenta">a-z</a> 
Group
<a href="/adminarea/menuitems/id_restaurant/<?php echo $this->idRestaurant; ?>/order/group_desc" class="sexybutton sexysimple sexymagenta">a-z</a> 

<table width="100%" cellspacing="0" cellpadding="8" class="newsfeed" id="myTable" border="0"  valign="top">
<thead>
	<tr>
	</tr>
</thead>
<tbody>

	<?php

	foreach ($this->allMenugitems as $oItem)
	{
		?>
	<tr id="row_<?php echo $oItem->id; ?>" valign="top">
		<td>
			<?php 		echo (isset($oItem->image) ? '<img src="/i/convenienceitems/' . $this->escape($oItem->image) . '" />' : '' ); ?>
		</td>
		<td class="line_h_td">
			<b><?php 			echo $this->escape($oItem->name); ?></b> <br />
			<small><?php 	echo $this->escape($oItem->descriptions); ?></small> <br />
			<i><?php 		echo (isset($oItem->group_name) ? $this->escape($oItem->group_name) : '' ); ?></i>
		</td>
		<?php if ('active' == $oItem->status) {?>
			<td class="del_element"><a class="sexybutton sexysimple sexymagenta delete_menuitem" id="<?php echo $oItem->id; ?>"
				href="javascript: void(0);"><span class="delete">Delete</span></a></td>
		<?php }
			  else {
		?>
			<td class="enable_element"><a class="sexybutton sexysimple sexymagenta enable_menuitem" id="<?php echo $oItem->id; ?>"
				href="javascript: void(0);"><span class="add">Restore</span></a></td>

		<?php }?>
	</tr>
	<tr><td colspan="2"><hr /></td></tr>
	<?php
	}
	?>

</tbody>
</table>

	<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>